<template>
  <van-nav-bar
    :border="false"
    :title=title
    left-arrow
    @click-left="$router.back()"
  />
</template>

<script>
export default {
  name: 'Navbar',
  props: {
    title: {
      type: String,
      required: true
    },
  }
}
</script>

<style lang='less' >
.van-nav-bar {
  background-color: #3190e8;
  margin-bottom: 10px;
  .van-icon {
    color: #fff;
  }
  .van-nav-bar__title {
    color: #fff;
    font-weight: 700;
    font-size: 19px;
  }
}
</style>